<section>
    <aside id="leftsidebar" class="sidebar">
        <div class="user-info">
            <div class="image"><img src="{$auth_user->detail->userface|default='__IMG__/default_user.png'}" width="48" height="48" alt="User" /></div>
            <div class="info-container">
                <div class="name" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{$auth_user->detail->nickname|default="新注册用户"}</div>
                <div class="email">{$auth_user->email|default="尚未绑定邮箱"}</div>
                <div class="btn-group user-helper-dropdown">
                    <i class="material-icons" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">keyboard_arrow_down</i>
                    <ul class="dropdown-menu pull-right">
                        <li><a href="{:url('user/profile')}"><i class="material-icons">person</i>个人资料</a></li>
                        <li role="seperator" class="divider"></li>
                        <li><a href="{:url('base/my_friend')}"><i class="material-icons">group</i>我的好友</a></li>
                        <li><a href="{:url('base/my_cart')}"><i class="material-icons">shopping_cart</i>我的购物</a></li>
                        <li><a href="{:url('base/my_more')}"><i class="material-icons">favorite</i>我的爱好</a></li>
                        <li role="seperator" class="divider"></li>
                        <li><a href="{:url('auth/logout')}"><i class="material-icons">input</i>系统登出</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="menu">
            <ul class="list">
                <li class="header">主菜单</li>
                <li {if condition="$Request.controller eq 'Base'"}class="active"{/if}>
                    <a href="{:url('base/index')}"><i class="material-icons">dashboard</i><span>系统概览</span></a>
                </li>
                <li {if condition="$Request.controller eq 'User'"}class="active"{/if}>
                    <a href="javascript:void(0);" class="menu-toggle"><i class="material-icons">contacts</i><span>会员管理</span></a>
                    <ul class="ml-menu">
                        <li {if condition="$Request.controller.'_'.$Request.action eq 'User_role'"}class="active"{/if}>
                            <a href="{:url('user/role')}"><span>角色列表</span></a>
                        </li>
                        <li {if condition="$Request.controller.'_'.$Request.action eq 'User_apply'"}class="active"{/if}>
                            <a href="{:url('user/apply')}"><span>待审核用户</span></a>
                        </li>
                        <li><a href="{:url('user/authenticated')}"><span>已审核用户</span></a></li>
                        <li><a href="{:url('user/blacklist')}"><span>用户黑名单</span></a></li>
                        <li><a href="{:url('user/template')}"><span>客户模板</span></a></li>
                    </ul>
                </li>
                <li {if condition="$Request.controller eq 'Company'"}class="active"{/if}>
                    <a href="javascript:void(0);" class="menu-toggle"><i class="material-icons">location_city</i><span>企业管理</span></a>
                    <ul class="ml-menu">
                        <li><a href="{:url('company/apply')}"><span>待审核企业</span></a></li>
                        <li><a href="{:url('company/settled')}"><span>已入驻企业</span></a></li>
                        <li><a href="{:url('company/blacklist')}"><span>企业黑名单</span></a></li>
                        <li><a href="{:url('company/blacklist')}"><span>企业模板</span></a></li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);" class="menu-toggle"><i class="material-icons">store</i><span>门店管理</span></a>
                    <ul class="ml-menu">
                        <li><a href="{:url('company/store_apply')}"><span>待审核门店</span></a></li>
                        <li><a href="{:url('company/store_authenticated')}"><span>已认证门店</span></a></li>
                        <li><a href="{:url('company/store_blacklist')}"><span>门店黑名单</span></a></li>
                        <li><a href="{:url('company/blacklist')}"><span>门店模板</span></a></li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);" class="menu-toggle"><i class="material-icons">library_books</i><span>资讯管理</span></a>
                    <ul class="ml-menu">
                        <li><a href="{:url('company/news_category')}"><span>分类栏目</span></a></li>
                        <li><a href="{:url('company/news_article')}"><span>文章列表</span></a></li>
                        <li><a href="{:url('company/blacklist')}"><span>资讯模板</span></a></li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);" class="menu-toggle"><i class="material-icons">group_work</i><span>商品管理</span></a>
                    <ul class="ml-menu">
                        <li><a href="{:url('company/product_brand')}"><span>品牌列表</span></a></li>
                        <li><a href="{:url('company/product_category')}"><span>商品分类</span></a></li>
                        <li><a href="{:url('company/product_list')}"><span>商品列表</span></a></li>
                        <li><a href="{:url('company/blacklist')}"><span>商品模板</span></a></li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);" class="menu-toggle"><i class="material-icons">style</i><span>活动管理</span></a>
                    <ul class="ml-menu">
                        <li><a href="{:url('company/product_brand')}"><span>活动分类</span></a></li>
                        <li><a href="{:url('company/product_brand')}"><span>统计列表</span></a></li>
                        <li><a href="{:url('company/product_brand')}"><span>活动列表</span></a></li>
                        <li><a href="{:url('company/blacklist')}"><span>活动模板</span></a></li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);" class="menu-toggle"><i class="material-icons">dvr</i><span>订单管理</span></a>
                    <ul class="ml-menu">
                        <li><a href="{:url('company/product_brand')}"><span>活动分类</span></a></li>
                        <li><a href="{:url('company/product_brand')}"><span>统计分类</span></a></li>
                        <li><a href="{:url('company/product_brand')}"><span>活动列表</span></a></li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);" class="menu-toggle"><i class="material-icons">forum</i><span>论坛管理</span></a>
                    <ul class="ml-menu">
                        <li><a href="{:url('company/product_brand')}"><span>栏目列表</span></a></li>
                        <li><a href="{:url('company/product_brand')}"><span>内容列表</span></a></li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);" class="menu-toggle"><i class="material-icons">toys</i><span>博客管理</span></a>
                    <ul class="ml-menu">
                        <li><a href="{:url('company/product_brand')}"><span>栏目列表</span></a></li>
                        <li><a href="{:url('company/product_brand')}"><span>内容列表</span></a></li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);" class="menu-toggle"><i class="material-icons">graphic_eq</i><span>消息管理</span></a>
                    <ul class="ml-menu">
                        <li><a href="{:url('company/product_brand')}"><span>消息分类</span></a></li>
                        <li><a href="{:url('company/product_brand')}"><span>消息列表</span></a></li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);" class="menu-toggle"><i class="material-icons">donut_small</i><span>统计管理</span></a>
                    <ul class="ml-menu">
                        <li><a href="{:url('company/product_brand')}"><span>统计分类</span></a></li>
                        <li><a href="{:url('company/product_brand')}"><span>统计列表</span></a></li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);" class="menu-toggle"><i class="material-icons">build</i><span>系统管理</span></a>
                    <ul class="ml-menu">
                        <li><a href="{:url('company/product_brand')}"><span>配置列表</span></a></li>
                        <li><a href="{:url('company/product_brand')}"><span>数据备份</span></a></li>
                        <li><a href="{:url('company/product_brand')}"><span>日志记录</span></a></li>
                        <li><a href="{:url('company/product_brand')}"><span>清理缓存</span></a></li>
                    </ul>
                </li>
                <li><a href="javascript:void(0);"> <i class="material-icons">update</i> <span>更新日志</span></a></li>
                <li class="header">标签项</li>
                <li><a href="javascript:void(0);"> <i class="material-icons col-red">donut_large</i> <span>重要事项</span></a></li>
                <li><a href="javascript:void(0);"> <i class="material-icons col-amber">donut_large</i> <span>警告事项</span></a></li>
                <li><a href="javascript:void(0);"> <i class="material-icons col-light-blue">donut_large</i> <span>提示事项</span></a></li>
            </ul>
        </div>
        <div class="legal">
            <div class="copyright">&copy; 2016 <a href="javascript:void(0);">Lyndon</a>.</div>
            <div class="version"><b>Version: </b> 1.0.0</div>
        </div>
    </aside>
    <aside id="rightsidebar" class="right-sidebar">
        <ul class="nav nav-tabs tab-nav-right" role="tablist">
            <li role="presentation" class="active"><a href="#skins" data-toggle="tab">皮肤</a></li>
            <li role="presentation"><a href="#settings" data-toggle="tab">设置</a></li>
        </ul>
        <div class="tab-content">
            <div role="tabpanel" class="tab-pane fade in active in active" id="skins">
                <ul class="demo-choose-skin">
                    <li data-theme="red" class="active"><div class="red"></div><span>红色</span></li>
                    <li data-theme="pink"><div class="pink"></div><span>粉色</span></li>
                    <li data-theme="purple"><div class="purple"></div><span>紫色</span></li>
                    <li data-theme="deep-purple"><div class="deep-purple"></div><span>深紫</span></li>
                    <li data-theme="indigo"><div class="indigo"></div><span>靛青</span></li>
                    <li data-theme="blue"><div class="blue"></div><span>蓝色</span></li>
                    <li data-theme="light-blue"><div class="light-blue"></div><span>浅蓝</span></li>
                    <li data-theme="green"><div class="green"></div><span>绿色</span></li>
                    <li data-theme="light-green"><div class="light-green"></div><span>浅绿</span></li>
                    <li data-theme="yellow"><div class="yellow"></div><span>黄色</span></li>
                    <li data-theme="orange"><div class="orange"></div><span>橘色</span></li>
                    <li data-theme="deep-orange"><div class="deep-orange"></div><span>深橘</span></li>
                    <li data-theme="brown"><div class="brown"></div><span>褐色</span></li>
                    <li data-theme="grey"><div class="grey"></div><span>灰色</span></li>
                    <li data-theme="blue-grey"><div class="blue-grey"></div><span>蓝灰</span></li>
                    <li data-theme="black"><div class="black"></div><span>黑色</span></li>
                </ul>
            </div>
            <div role="tabpanel" class="tab-pane fade" id="settings">
                <div class="demo-settings">
                    <p>全局设置</p>
                    <ul class="setting-list">
                        <li><span>侧栏隐藏</span><div class="switch"><label><input type="checkbox" checked><span class="lever"></span></label></div></li>
                        <li><span>固定主题</span><div class="switch"><label><input type="checkbox"><span class="lever"></span></label></div></li>
                    </ul>
                    <p>系统设置</p>
                    <ul class="setting-list">
                        <li><span>通知免扰</span><div class="switch"><label><input type="checkbox" checked><span class="lever"></span></label></div></li>
                        <li><span>自动更新</span><div class="switch"><label><input type="checkbox" checked><span class="lever"></span></label></div></li>
                    </ul>
                    <p>隐私设置</p>
                    <ul class="setting-list">
                        <li><span>离线通知</span><div class="switch"><label><input type="checkbox"><span class="lever"></span></label></div></li>
                        <li><span>自动定位</span><div class="switch"><label><input type="checkbox" checked><span class="lever"></span></label></div></li>
                    </ul>
                </div>
            </div>
        </div>
    </aside>
</section>